﻿<!doctype html>
<html>
	<head>
		<a name='top'></a>
<title>支付</title> 
				<meta charset='utf-8'>
		<meta name='viewport' content='width=device-width,initial-scale=1.0,user-scalable=no,minimun-scale=1.0,maximun-scale=1.0'>
		<meta name='apple-mobile-web-app-capable' content='yes'>
		<meta name='apple-touch-fullscreen' content='yes'>
		<meta name='full-screen' content='yes'>
		<meta name='apple-mobile-web-app-status-bar-style' content='yes'>
		<meta name='format-detection' content='telephone=no'>
		<meta name='format-detection' content='address=no'>
		
				<!--引入css样式-->
		<link rel='stylesheet' href='/public/static/pay/pc/css/reset.css' type='text/css'>
		<link rel='stylesheet' href='/public/static/pay/pc/css/style.css' type='text/css'>
		<!--引入js文件-->
		<script src='/public/static/pay/pc/js/jquery-1.11.3.min.js'></script>
		<script src='/public/static/pay/pc/js/lubotu.js'></script>
		<script src="/public/static/pay/pc/js/jquery.cxscroll.js"></script>
		<script src='/public/static/pay/pc/js/myjs.js'></script>
		<script src='/public/static/pay/pc/js/html5shiv.min.js'></script>
		<script src='/public/static/pay/pc/js/jquery.lazyload.min.js'></script> 
		

		<link rel="stylesheet" type="text/css" href="/public/static/pay/pc/css/pay.css">
<link type="text/css" href="/public/static/pay/pc/css/keyPay.css" rel="stylesheet" />

		<!--引入css样式-->

		
	</head>
	<body style='background:#f4f4f4'>
		<!--top-->
	<!-- 顶部导航 -->
	
		
		<!--nav-->
		
		<!--分类列表的内容-->
		<div class='list container'>
			<div class='list-content'>
			

<script type="text/javascript" src="/public/static/pay/pc/js/jquery-1.7.2.min.js"></script>







<input size="50" type="hidden" name="pd_Order" value="201607151441448408" />
<!-- 内容 begin  -->
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<div id="content">



<div class="sb">



<div class="centersb" id="orderDetails">

<ul>

	<li style="font-size: 18px;"><strong>订单号：</strong><span id="orderId" style="color:#F00">{$data.order_id}</span></li>

	<li><strong>订单名称：</strong><span id="goodsName">{$data.name}</span></li>

	<!-- <li><strong>商户信息：</strong></li>
 -->


</ul>
</div>

<div class="rightsb">
<p><font color="#FF6600" size="+2" style="font-weight: bold;"
	id="countNum">¥ {$data.money}</font></p>
<div style="background: #58bc4c; text-align: center; width: 90px; height: 26px; position: relative; top: 25px; left:86px; color:#f5f5f5;"
	onClick="showMoreDetails();">订单详情</div>
</div>

</div>



<div class="	">


<style type="text/css">
	  .credit-icon{background: url(/public/static/pay/pc/img/credit.png) no-repeat; display:inline-block; width:13px; height:18px;position:absolute;  cursor:pointer;}
</style>
<div class="zhifu"><span id="payTitle" style="font-size: 17px;">微信扫码支付：</span>



    
    
    <!-- 支付类型 -->
    
    <div id="payTypeList" class="bankWrap" style="margin-top:20px">
    
     <center>
	<img src="{$url}" style="width:300px;">
	</center>
    </div>
</div>
<div style="height:30px; width:100%"></div>
<!-- <div class="zhifu"><span id="payTitle" style="font-size: 17px;">网银支付OR信用卡支付：</span>
 -->

<script>
	var wait=setInterval(function(){  
		
		
		
		$.ajax({
			type:'POST',
			url:"__APP__/Pay/Orders/WeiXinPayOK.html",
			data:{
				
				"id": {$data.order_id},
				
				
				
			},
			success:function(data){			
				if (data == 1) {
				
					window.location.href = 'http://{$base_url}';
				}else{
				
				}
			},
			error:function(){
				
			}
		
		});	
	},5000);  
	
</script>


<!-- 支付类型 -->

</div>


</div>

</div>







<!-- 内容 end -->


		
		</div>
		</div>
		
		
		
		
		
		
		
		
		
		
		
		
		
		<!--footer-->
		<div class='clear'></div>
		<!--footer-->
	
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
	</body>
</html>